package com.mirror.utils.weibo;

public class OpenConstant {

	public enum SINA {
		;

		public static final int OPEN_TYPE = 1;

		public static final String APP_ID = "2863607153";

		public static final String REDIRECT_URL = "http://www.baidu.com";

		public static final String UID = "uid";

		public static final String ACCESS_TOKEN = "access_token";

		public static final long EFFECT_TIME = 1 * 24 * 60 * 60 * 1000 - 5 * 60 * 1000;

	}

	public enum TENCENT {
		;

		public static final int OPEN_TYPE = 2;

		public static final String APP_ID = "801343440";

		public static final String APP_SECRET = "430aa4e953f548dc663020a4752bcdc3";

		public static final String REDIRECT_URL = "http://dev.t.qq.com/apps/add/6";
		
		public static final String OAUTH = "oauth";

		public static final String RESULT_DATA = "data";

		public static final String RESULT_INFO = "info";

		public static final String OPEN_ID = "openid";

		public static final String OAUTH_CONSUMER_KEY = "oauth_consumer_key";

		public static final String ACCESS_TOKEN = "access_token";

		public static final String EXPIRES_IN = "expires_in";

		public static final String OAUTH_VERSION = "oauth_version";

		public static final String OAUTH_VERSION_VALUE = "2.a";

		public static final String SCOPE = "scope";

		public static final String SCOPE_VALUE = "all";

		public static final String CLIENT_IP = "clientip";

		public static final long EFFECT_TIME = 7 * 24 * 60 * 60 * 1000 - 5 * 60 * 1000;
	}
}
